#!/usr/bin/make -f
# debian/rules file for libregexp-java (uses cdbs)

UPSTREAM_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -\d' ' | cut -f1 -d- )

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk

JAVA_HOME_DIRS := /usr/lib/jvm/java-1.5.0-sun
ANT_HOME := /usr/share/ant

DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar junit

DEB_ANT_BUILD_TARGET := jar

install/libje-java::
	mkdir -p debian/libje-java/usr/share/java
	install -m 644 build/lib/je.jar debian/libje-java/usr/share/java/je.jar
